// Fill out your copyright notice in the Description page of Project Settings.


#include "Framework/SlotBasedSaveGame.h"

USlotBasedSaveGame::USlotBasedSaveGame() {
	 SavedPlayerInfo= FSavedPlayerInfo();
	 SavedGameplayInfo= FSavedGameplayInfo();
	 SavedMissionComponent=  FSavedMissionComponent();
	 SavedSlotInfo = FSavedSlotInfo();
}

void USlotBasedSaveGame::SavePlayerInfoFun(const FSavedPlayerInfo& InSavedPlayerInfo)
{
	SavedPlayerInfo = FSavedPlayerInfo(InSavedPlayerInfo);
}

void USlotBasedSaveGame::SaveGameplayInfoFun(const FSavedGameplayInfo& InSavedPlayerInfo)
{
	SavedGameplayInfo =FSavedGameplayInfo(InSavedPlayerInfo);
}

void USlotBasedSaveGame::SaveMissionComponentFun(const FSavedMissionComponent& InSavedPlayerInfo)
{
	SavedMissionComponent = FSavedMissionComponent(InSavedPlayerInfo);
}
